/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package index;

/**
 *
 * @author Lu
 */
public class DepthAndCount {
    private String type;
    private int depth;
    private int count;

    public DepthAndCount(String type, int d, int c){
        this.type = type;
        depth = d;
        count = c;
    }

    public void addOne(){
        count++;
    }

    public void reset(){
        count = 0;
    }

    public String getType() {
        return type;
    }

    public int getDepth() {
        return depth;
    }

    public int getCount() {
        return count;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setDepth(int depth) {
        this.depth = depth;
    }

}
